package com.vvitt.kotlinhiltcarhome.activity

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.activity.viewModels
import androidx.lifecycle.lifecycleScope
import androidx.paging.LoadState
import com.vvitt.kotlinhiltcarhome.R
import com.vvitt.kotlinhiltcarhome.adapter.CarBrandAdapter
import com.vvitt.kotlinhiltcarhome.databinding.ActivityMainBinding
import com.vvitt.kotlinhiltcarhome.viewmodel.CarBrandViewModel
import dagger.hilt.android.AndroidEntryPoint
import kotlinx.coroutines.flow.collectLatest

/**
 * @author please call me police uncel
 * @since 2023/5/26
 * @email 110
 * @desciption MainActivity
 **/
@AndroidEntryPoint
class MainActivity : AppCompatActivity() {

    private val mBinding : ActivityMainBinding by lazy {
        ActivityMainBinding.inflate(layoutInflater)
    }

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(mBinding.root)

    }
}